All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.qtcomponents.TimeCodeDef

java.lang.Object
   |
   +----quicktime.util.QTByteObject
           |
           +----quicktime.std.qtcomponents.TimeCodeDef

public final class TimeCodeDef
extends QTByteObject
implements PrimitivesLib, Cloneable
The TimeCode definition class contains timecode formatting information.


Variable Index

 o kNativeSize
This is the size (the number of bytes) that are required for this class

Constructor Index

 o TimeCodeDef()
Creates a TimeCodeDef object which has no initial settings.

Method Index

 o clone()
Makes a copy of a object.
 o getFlags()
Returns the current flag settings.
 o getFrameDuration()
Returns the duration of each frame.
 o getFramesPerSecond()
Returns the number of frames per second as the closest integral value.
 o getTimeScale()
Returns the time scale in terms of the frameDuration.
 o setFlags(int)
Sets the flags - dropFrame, etc
 o setFrameDuration(int)
Sets the duration of each frame.
 o setFramesPerSecond(int)
Sets the number of frames per second as the closest integral value.
 o setTimeScale(int)
Sets the time scale in terms of the frameDuration.
 o toString()
String representation of class.

Variables

 o kNativeSize
 public static final int kNativeSize
This is the size (the number of bytes) that are required for this class

Constructors

 o TimeCodeDef
 public TimeCodeDef()
Creates a TimeCodeDef object which has no initial settings.

Methods

 o getFlags
 public int getFlags()
Returns the current flag settings.

Returns:
flags
 o setFlags
 public void setFlags(int flags)
Sets the flags - dropFrame, etc

Parameters:
flags - new flag value
 o getTimeScale
 public int getTimeScale()
Returns the time scale in terms of the frameDuration. TimeScale / frameDuration = actual number of frames per second

Returns:
time scale
 o setTimeScale
 public void setTimeScale(int timeScale)
Sets the time scale in terms of the frameDuration. TimeScale / frameDuration = actual number of frames per second

Parameters:
timeScale - the new time scale value
 o getFrameDuration
 public int getFrameDuration()
Returns the duration of each frame. TimeScale / frameDuration = actual number of frames per second

Returns:
the current frame duration
 o setFrameDuration
 public void setFrameDuration(int frameDuration)
Sets the duration of each frame. TimeScale / frameDuration = actual number of frames per second

Parameters:
frameDuration - new frame duration value
 o getFramesPerSecond
 public int getFramesPerSecond()
Returns the number of frames per second as the closest integral value. The actual frames per second are found by the following: TimeScale / frameDuration = actual number of frames per second

Returns:
the specified, integral, frames per second
 o setFramesPerSecond
 public void setFramesPerSecond(int fps)
Sets the number of frames per second as the closest integral value. The actual frames per second are found by the following: TimeScale / frameDuration = actual number of frames per second

Parameters:
fps - the specified, integral, frames per second
 o toString
 public String toString()
String representation of class.

Overrides:
toString in class QTByteObject
 o clone
 public Object clone()
Makes a copy of a object.

Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index